package com.nbicc.newscat.service;

import com.nbicc.common.RequestPageObj;
import com.nbicc.common.ResponseObj;
import com.nbicc.newscat.po.NewsCat;
import com.nbicc.parent.serivce.IBaseService;
import java.util.List;
import java.util.Map;

public interface INewsCatService extends IBaseService<NewsCat>{

    Integer insertAll(List<NewsCat> newsCats) throws Exception;

    Integer deleteByMap(Map<String, Object> parms);

    ResponseObj find(RequestPageObj<Map<String, Object>> requestPageObj) throws Exception;

    void updateNewsCat(Long newsId , NewsCat[] newsCats) throws Exception;

    long countNews(Map<String,Object> parms);
}
